package edu.suse.service;

import edu.suse.common.base.RespResult;

import java.util.ArrayList;

public interface SysRoleService {
    RespResult findSysRoleAllStatus(Long status);
    RespResult findSysRoleByName(String name);
    RespResult findSysRoleByTitle(String title);
    RespResult addSysRole(String title, String name, String remark);
    RespResult deleteSysRole(String name);
    RespResult updateSysRole(Long roleId, String title, String name, String remark);
    RespResult updateSysRoleStatus(ArrayList<Long> roleIds, Long status);
}
